package com.intellagric.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class FacilityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FacilityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andFacilityIdIsNull() {
            addCriterion("facility_id is null");
            return (Criteria) this;
        }

        public Criteria andFacilityIdIsNotNull() {
            addCriterion("facility_id is not null");
            return (Criteria) this;
        }

        public Criteria andFacilityIdEqualTo(String value) {
            addCriterion("facility_id =", value, "facilityId");
            return (Criteria) this;
        }

        public Criteria andFacilityIdNotEqualTo(String value) {
            addCriterion("facility_id <>", value, "facilityId");
            return (Criteria) this;
        }

        public Criteria andFacilityIdGreaterThan(String value) {
            addCriterion("facility_id >", value, "facilityId");
            return (Criteria) this;
        }

        public Criteria andFacilityIdGreaterThanOrEqualTo(String value) {
            addCriterion("facility_id >=", value, "facilityId");
            return (Criteria) this;
        }

        public Criteria andFacilityIdLessThan(String value) {
            addCriterion("facility_id <", value, "facilityId");
            return (Criteria) this;
        }

        public Criteria andFacilityIdLessThanOrEqualTo(String value) {
            addCriterion("facility_id <=", value, "facilityId");
            return (Criteria) this;
        }

        public Criteria andFacilityIdLike(String value) {
            addCriterion("facility_id like", value, "facilityId");
            return (Criteria) this;
        }

        public Criteria andFacilityIdNotLike(String value) {
            addCriterion("facility_id not like", value, "facilityId");
            return (Criteria) this;
        }

        public Criteria andFacilityIdIn(List<String> values) {
            addCriterion("facility_id in", values, "facilityId");
            return (Criteria) this;
        }

        public Criteria andFacilityIdNotIn(List<String> values) {
            addCriterion("facility_id not in", values, "facilityId");
            return (Criteria) this;
        }

        public Criteria andFacilityIdBetween(String value1, String value2) {
            addCriterion("facility_id between", value1, value2, "facilityId");
            return (Criteria) this;
        }

        public Criteria andFacilityIdNotBetween(String value1, String value2) {
            addCriterion("facility_id not between", value1, value2, "facilityId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNull() {
            addCriterion("category_id is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIsNotNull() {
            addCriterion("category_id is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryIdEqualTo(String value) {
            addCriterion("category_id =", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotEqualTo(String value) {
            addCriterion("category_id <>", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThan(String value) {
            addCriterion("category_id >", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdGreaterThanOrEqualTo(String value) {
            addCriterion("category_id >=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThan(String value) {
            addCriterion("category_id <", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLessThanOrEqualTo(String value) {
            addCriterion("category_id <=", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdLike(String value) {
            addCriterion("category_id like", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotLike(String value) {
            addCriterion("category_id not like", value, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdIn(List<String> values) {
            addCriterion("category_id in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotIn(List<String> values) {
            addCriterion("category_id not in", values, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdBetween(String value1, String value2) {
            addCriterion("category_id between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andCategoryIdNotBetween(String value1, String value2) {
            addCriterion("category_id not between", value1, value2, "categoryId");
            return (Criteria) this;
        }

        public Criteria andFacilityNameIsNull() {
            addCriterion("facility_name is null");
            return (Criteria) this;
        }

        public Criteria andFacilityNameIsNotNull() {
            addCriterion("facility_name is not null");
            return (Criteria) this;
        }

        public Criteria andFacilityNameEqualTo(String value) {
            addCriterion("facility_name =", value, "facilityName");
            return (Criteria) this;
        }

        public Criteria andFacilityNameNotEqualTo(String value) {
            addCriterion("facility_name <>", value, "facilityName");
            return (Criteria) this;
        }

        public Criteria andFacilityNameGreaterThan(String value) {
            addCriterion("facility_name >", value, "facilityName");
            return (Criteria) this;
        }

        public Criteria andFacilityNameGreaterThanOrEqualTo(String value) {
            addCriterion("facility_name >=", value, "facilityName");
            return (Criteria) this;
        }

        public Criteria andFacilityNameLessThan(String value) {
            addCriterion("facility_name <", value, "facilityName");
            return (Criteria) this;
        }

        public Criteria andFacilityNameLessThanOrEqualTo(String value) {
            addCriterion("facility_name <=", value, "facilityName");
            return (Criteria) this;
        }

        public Criteria andFacilityNameLike(String value) {
            addCriterion("facility_name like", value, "facilityName");
            return (Criteria) this;
        }

        public Criteria andFacilityNameNotLike(String value) {
            addCriterion("facility_name not like", value, "facilityName");
            return (Criteria) this;
        }

        public Criteria andFacilityNameIn(List<String> values) {
            addCriterion("facility_name in", values, "facilityName");
            return (Criteria) this;
        }

        public Criteria andFacilityNameNotIn(List<String> values) {
            addCriterion("facility_name not in", values, "facilityName");
            return (Criteria) this;
        }

        public Criteria andFacilityNameBetween(String value1, String value2) {
            addCriterion("facility_name between", value1, value2, "facilityName");
            return (Criteria) this;
        }

        public Criteria andFacilityNameNotBetween(String value1, String value2) {
            addCriterion("facility_name not between", value1, value2, "facilityName");
            return (Criteria) this;
        }

        public Criteria andStorageIdIsNull() {
            addCriterion("storage_id is null");
            return (Criteria) this;
        }

        public Criteria andStorageIdIsNotNull() {
            addCriterion("storage_id is not null");
            return (Criteria) this;
        }

        public Criteria andStorageIdEqualTo(String value) {
            addCriterion("storage_id =", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdNotEqualTo(String value) {
            addCriterion("storage_id <>", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdGreaterThan(String value) {
            addCriterion("storage_id >", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdGreaterThanOrEqualTo(String value) {
            addCriterion("storage_id >=", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdLessThan(String value) {
            addCriterion("storage_id <", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdLessThanOrEqualTo(String value) {
            addCriterion("storage_id <=", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdLike(String value) {
            addCriterion("storage_id like", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdNotLike(String value) {
            addCriterion("storage_id not like", value, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdIn(List<String> values) {
            addCriterion("storage_id in", values, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdNotIn(List<String> values) {
            addCriterion("storage_id not in", values, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdBetween(String value1, String value2) {
            addCriterion("storage_id between", value1, value2, "storageId");
            return (Criteria) this;
        }

        public Criteria andStorageIdNotBetween(String value1, String value2) {
            addCriterion("storage_id not between", value1, value2, "storageId");
            return (Criteria) this;
        }

        public Criteria andManufacturerIsNull() {
            addCriterion("manufacturer is null");
            return (Criteria) this;
        }

        public Criteria andManufacturerIsNotNull() {
            addCriterion("manufacturer is not null");
            return (Criteria) this;
        }

        public Criteria andManufacturerEqualTo(String value) {
            addCriterion("manufacturer =", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotEqualTo(String value) {
            addCriterion("manufacturer <>", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerGreaterThan(String value) {
            addCriterion("manufacturer >", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerGreaterThanOrEqualTo(String value) {
            addCriterion("manufacturer >=", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLessThan(String value) {
            addCriterion("manufacturer <", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLessThanOrEqualTo(String value) {
            addCriterion("manufacturer <=", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLike(String value) {
            addCriterion("manufacturer like", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotLike(String value) {
            addCriterion("manufacturer not like", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerIn(List<String> values) {
            addCriterion("manufacturer in", values, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotIn(List<String> values) {
            addCriterion("manufacturer not in", values, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerBetween(String value1, String value2) {
            addCriterion("manufacturer between", value1, value2, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotBetween(String value1, String value2) {
            addCriterion("manufacturer not between", value1, value2, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andFacilityNoIsNull() {
            addCriterion("facility_no is null");
            return (Criteria) this;
        }

        public Criteria andFacilityNoIsNotNull() {
            addCriterion("facility_no is not null");
            return (Criteria) this;
        }

        public Criteria andFacilityNoEqualTo(String value) {
            addCriterion("facility_no =", value, "facilityNo");
            return (Criteria) this;
        }

        public Criteria andFacilityNoNotEqualTo(String value) {
            addCriterion("facility_no <>", value, "facilityNo");
            return (Criteria) this;
        }

        public Criteria andFacilityNoGreaterThan(String value) {
            addCriterion("facility_no >", value, "facilityNo");
            return (Criteria) this;
        }

        public Criteria andFacilityNoGreaterThanOrEqualTo(String value) {
            addCriterion("facility_no >=", value, "facilityNo");
            return (Criteria) this;
        }

        public Criteria andFacilityNoLessThan(String value) {
            addCriterion("facility_no <", value, "facilityNo");
            return (Criteria) this;
        }

        public Criteria andFacilityNoLessThanOrEqualTo(String value) {
            addCriterion("facility_no <=", value, "facilityNo");
            return (Criteria) this;
        }

        public Criteria andFacilityNoLike(String value) {
            addCriterion("facility_no like", value, "facilityNo");
            return (Criteria) this;
        }

        public Criteria andFacilityNoNotLike(String value) {
            addCriterion("facility_no not like", value, "facilityNo");
            return (Criteria) this;
        }

        public Criteria andFacilityNoIn(List<String> values) {
            addCriterion("facility_no in", values, "facilityNo");
            return (Criteria) this;
        }

        public Criteria andFacilityNoNotIn(List<String> values) {
            addCriterion("facility_no not in", values, "facilityNo");
            return (Criteria) this;
        }

        public Criteria andFacilityNoBetween(String value1, String value2) {
            addCriterion("facility_no between", value1, value2, "facilityNo");
            return (Criteria) this;
        }

        public Criteria andFacilityNoNotBetween(String value1, String value2) {
            addCriterion("facility_no not between", value1, value2, "facilityNo");
            return (Criteria) this;
        }

        public Criteria andBuyDateIsNull() {
            addCriterion("buy_date is null");
            return (Criteria) this;
        }

        public Criteria andBuyDateIsNotNull() {
            addCriterion("buy_date is not null");
            return (Criteria) this;
        }

        public Criteria andBuyDateEqualTo(Date value) {
            addCriterion("buy_date =", value, "buyDate");
            return (Criteria) this;
        }

        public Criteria andBuyDateNotEqualTo(Date value) {
            addCriterion("buy_date <>", value, "buyDate");
            return (Criteria) this;
        }

        public Criteria andBuyDateGreaterThan(Date value) {
            addCriterion("buy_date >", value, "buyDate");
            return (Criteria) this;
        }

        public Criteria andBuyDateGreaterThanOrEqualTo(Date value) {
            addCriterion("buy_date >=", value, "buyDate");
            return (Criteria) this;
        }

        public Criteria andBuyDateLessThan(Date value) {
            addCriterion("buy_date <", value, "buyDate");
            return (Criteria) this;
        }

        public Criteria andBuyDateLessThanOrEqualTo(Date value) {
            addCriterion("buy_date <=", value, "buyDate");
            return (Criteria) this;
        }

        public Criteria andBuyDateIn(List<Date> values) {
            addCriterion("buy_date in", values, "buyDate");
            return (Criteria) this;
        }

        public Criteria andBuyDateNotIn(List<Date> values) {
            addCriterion("buy_date not in", values, "buyDate");
            return (Criteria) this;
        }

        public Criteria andBuyDateBetween(Date value1, Date value2) {
            addCriterion("buy_date between", value1, value2, "buyDate");
            return (Criteria) this;
        }

        public Criteria andBuyDateNotBetween(Date value1, Date value2) {
            addCriterion("buy_date not between", value1, value2, "buyDate");
            return (Criteria) this;
        }

        public Criteria andManufactureNoIsNull() {
            addCriterion("manufacture_no is null");
            return (Criteria) this;
        }

        public Criteria andManufactureNoIsNotNull() {
            addCriterion("manufacture_no is not null");
            return (Criteria) this;
        }

        public Criteria andManufactureNoEqualTo(String value) {
            addCriterion("manufacture_no =", value, "manufactureNo");
            return (Criteria) this;
        }

        public Criteria andManufactureNoNotEqualTo(String value) {
            addCriterion("manufacture_no <>", value, "manufactureNo");
            return (Criteria) this;
        }

        public Criteria andManufactureNoGreaterThan(String value) {
            addCriterion("manufacture_no >", value, "manufactureNo");
            return (Criteria) this;
        }

        public Criteria andManufactureNoGreaterThanOrEqualTo(String value) {
            addCriterion("manufacture_no >=", value, "manufactureNo");
            return (Criteria) this;
        }

        public Criteria andManufactureNoLessThan(String value) {
            addCriterion("manufacture_no <", value, "manufactureNo");
            return (Criteria) this;
        }

        public Criteria andManufactureNoLessThanOrEqualTo(String value) {
            addCriterion("manufacture_no <=", value, "manufactureNo");
            return (Criteria) this;
        }

        public Criteria andManufactureNoLike(String value) {
            addCriterion("manufacture_no like", value, "manufactureNo");
            return (Criteria) this;
        }

        public Criteria andManufactureNoNotLike(String value) {
            addCriterion("manufacture_no not like", value, "manufactureNo");
            return (Criteria) this;
        }

        public Criteria andManufactureNoIn(List<String> values) {
            addCriterion("manufacture_no in", values, "manufactureNo");
            return (Criteria) this;
        }

        public Criteria andManufactureNoNotIn(List<String> values) {
            addCriterion("manufacture_no not in", values, "manufactureNo");
            return (Criteria) this;
        }

        public Criteria andManufactureNoBetween(String value1, String value2) {
            addCriterion("manufacture_no between", value1, value2, "manufactureNo");
            return (Criteria) this;
        }

        public Criteria andManufactureNoNotBetween(String value1, String value2) {
            addCriterion("manufacture_no not between", value1, value2, "manufactureNo");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoIsNull() {
            addCriterion("fixed_assets_no is null");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoIsNotNull() {
            addCriterion("fixed_assets_no is not null");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoEqualTo(String value) {
            addCriterion("fixed_assets_no =", value, "fixedAssetsNo");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoNotEqualTo(String value) {
            addCriterion("fixed_assets_no <>", value, "fixedAssetsNo");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoGreaterThan(String value) {
            addCriterion("fixed_assets_no >", value, "fixedAssetsNo");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoGreaterThanOrEqualTo(String value) {
            addCriterion("fixed_assets_no >=", value, "fixedAssetsNo");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoLessThan(String value) {
            addCriterion("fixed_assets_no <", value, "fixedAssetsNo");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoLessThanOrEqualTo(String value) {
            addCriterion("fixed_assets_no <=", value, "fixedAssetsNo");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoLike(String value) {
            addCriterion("fixed_assets_no like", value, "fixedAssetsNo");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoNotLike(String value) {
            addCriterion("fixed_assets_no not like", value, "fixedAssetsNo");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoIn(List<String> values) {
            addCriterion("fixed_assets_no in", values, "fixedAssetsNo");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoNotIn(List<String> values) {
            addCriterion("fixed_assets_no not in", values, "fixedAssetsNo");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoBetween(String value1, String value2) {
            addCriterion("fixed_assets_no between", value1, value2, "fixedAssetsNo");
            return (Criteria) this;
        }

        public Criteria andFixedAssetsNoNotBetween(String value1, String value2) {
            addCriterion("fixed_assets_no not between", value1, value2, "fixedAssetsNo");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdIsNull() {
            addCriterion("material_storage_id is null");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdIsNotNull() {
            addCriterion("material_storage_id is not null");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdEqualTo(String value) {
            addCriterion("material_storage_id =", value, "materialStorageId");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdNotEqualTo(String value) {
            addCriterion("material_storage_id <>", value, "materialStorageId");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdGreaterThan(String value) {
            addCriterion("material_storage_id >", value, "materialStorageId");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdGreaterThanOrEqualTo(String value) {
            addCriterion("material_storage_id >=", value, "materialStorageId");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdLessThan(String value) {
            addCriterion("material_storage_id <", value, "materialStorageId");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdLessThanOrEqualTo(String value) {
            addCriterion("material_storage_id <=", value, "materialStorageId");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdLike(String value) {
            addCriterion("material_storage_id like", value, "materialStorageId");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdNotLike(String value) {
            addCriterion("material_storage_id not like", value, "materialStorageId");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdIn(List<String> values) {
            addCriterion("material_storage_id in", values, "materialStorageId");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdNotIn(List<String> values) {
            addCriterion("material_storage_id not in", values, "materialStorageId");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdBetween(String value1, String value2) {
            addCriterion("material_storage_id between", value1, value2, "materialStorageId");
            return (Criteria) this;
        }

        public Criteria andMaterialStorageIdNotBetween(String value1, String value2) {
            addCriterion("material_storage_id not between", value1, value2, "materialStorageId");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyIsNull() {
            addCriterion("supplier_company is null");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyIsNotNull() {
            addCriterion("supplier_company is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyEqualTo(String value) {
            addCriterion("supplier_company =", value, "supplierCompany");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyNotEqualTo(String value) {
            addCriterion("supplier_company <>", value, "supplierCompany");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyGreaterThan(String value) {
            addCriterion("supplier_company >", value, "supplierCompany");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("supplier_company >=", value, "supplierCompany");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyLessThan(String value) {
            addCriterion("supplier_company <", value, "supplierCompany");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyLessThanOrEqualTo(String value) {
            addCriterion("supplier_company <=", value, "supplierCompany");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyLike(String value) {
            addCriterion("supplier_company like", value, "supplierCompany");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyNotLike(String value) {
            addCriterion("supplier_company not like", value, "supplierCompany");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyIn(List<String> values) {
            addCriterion("supplier_company in", values, "supplierCompany");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyNotIn(List<String> values) {
            addCriterion("supplier_company not in", values, "supplierCompany");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyBetween(String value1, String value2) {
            addCriterion("supplier_company between", value1, value2, "supplierCompany");
            return (Criteria) this;
        }

        public Criteria andSupplierCompanyNotBetween(String value1, String value2) {
            addCriterion("supplier_company not between", value1, value2, "supplierCompany");
            return (Criteria) this;
        }

        public Criteria andSupplierIsNull() {
            addCriterion("supplier is null");
            return (Criteria) this;
        }

        public Criteria andSupplierIsNotNull() {
            addCriterion("supplier is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierEqualTo(String value) {
            addCriterion("supplier =", value, "supplier");
            return (Criteria) this;
        }

        public Criteria andSupplierNotEqualTo(String value) {
            addCriterion("supplier <>", value, "supplier");
            return (Criteria) this;
        }

        public Criteria andSupplierGreaterThan(String value) {
            addCriterion("supplier >", value, "supplier");
            return (Criteria) this;
        }

        public Criteria andSupplierGreaterThanOrEqualTo(String value) {
            addCriterion("supplier >=", value, "supplier");
            return (Criteria) this;
        }

        public Criteria andSupplierLessThan(String value) {
            addCriterion("supplier <", value, "supplier");
            return (Criteria) this;
        }

        public Criteria andSupplierLessThanOrEqualTo(String value) {
            addCriterion("supplier <=", value, "supplier");
            return (Criteria) this;
        }

        public Criteria andSupplierLike(String value) {
            addCriterion("supplier like", value, "supplier");
            return (Criteria) this;
        }

        public Criteria andSupplierNotLike(String value) {
            addCriterion("supplier not like", value, "supplier");
            return (Criteria) this;
        }

        public Criteria andSupplierIn(List<String> values) {
            addCriterion("supplier in", values, "supplier");
            return (Criteria) this;
        }

        public Criteria andSupplierNotIn(List<String> values) {
            addCriterion("supplier not in", values, "supplier");
            return (Criteria) this;
        }

        public Criteria andSupplierBetween(String value1, String value2) {
            addCriterion("supplier between", value1, value2, "supplier");
            return (Criteria) this;
        }

        public Criteria andSupplierNotBetween(String value1, String value2) {
            addCriterion("supplier not between", value1, value2, "supplier");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileIsNull() {
            addCriterion("supplier_mobile is null");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileIsNotNull() {
            addCriterion("supplier_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileEqualTo(String value) {
            addCriterion("supplier_mobile =", value, "supplierMobile");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileNotEqualTo(String value) {
            addCriterion("supplier_mobile <>", value, "supplierMobile");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileGreaterThan(String value) {
            addCriterion("supplier_mobile >", value, "supplierMobile");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileGreaterThanOrEqualTo(String value) {
            addCriterion("supplier_mobile >=", value, "supplierMobile");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileLessThan(String value) {
            addCriterion("supplier_mobile <", value, "supplierMobile");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileLessThanOrEqualTo(String value) {
            addCriterion("supplier_mobile <=", value, "supplierMobile");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileLike(String value) {
            addCriterion("supplier_mobile like", value, "supplierMobile");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileNotLike(String value) {
            addCriterion("supplier_mobile not like", value, "supplierMobile");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileIn(List<String> values) {
            addCriterion("supplier_mobile in", values, "supplierMobile");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileNotIn(List<String> values) {
            addCriterion("supplier_mobile not in", values, "supplierMobile");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileBetween(String value1, String value2) {
            addCriterion("supplier_mobile between", value1, value2, "supplierMobile");
            return (Criteria) this;
        }

        public Criteria andSupplierMobileNotBetween(String value1, String value2) {
            addCriterion("supplier_mobile not between", value1, value2, "supplierMobile");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileIsNull() {
            addCriterion("after_sale_mobile is null");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileIsNotNull() {
            addCriterion("after_sale_mobile is not null");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileEqualTo(String value) {
            addCriterion("after_sale_mobile =", value, "afterSaleMobile");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileNotEqualTo(String value) {
            addCriterion("after_sale_mobile <>", value, "afterSaleMobile");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileGreaterThan(String value) {
            addCriterion("after_sale_mobile >", value, "afterSaleMobile");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileGreaterThanOrEqualTo(String value) {
            addCriterion("after_sale_mobile >=", value, "afterSaleMobile");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileLessThan(String value) {
            addCriterion("after_sale_mobile <", value, "afterSaleMobile");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileLessThanOrEqualTo(String value) {
            addCriterion("after_sale_mobile <=", value, "afterSaleMobile");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileLike(String value) {
            addCriterion("after_sale_mobile like", value, "afterSaleMobile");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileNotLike(String value) {
            addCriterion("after_sale_mobile not like", value, "afterSaleMobile");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileIn(List<String> values) {
            addCriterion("after_sale_mobile in", values, "afterSaleMobile");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileNotIn(List<String> values) {
            addCriterion("after_sale_mobile not in", values, "afterSaleMobile");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileBetween(String value1, String value2) {
            addCriterion("after_sale_mobile between", value1, value2, "afterSaleMobile");
            return (Criteria) this;
        }

        public Criteria andAfterSaleMobileNotBetween(String value1, String value2) {
            addCriterion("after_sale_mobile not between", value1, value2, "afterSaleMobile");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodIsNull() {
            addCriterion("warranty_period is null");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodIsNotNull() {
            addCriterion("warranty_period is not null");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodEqualTo(String value) {
            addCriterion("warranty_period =", value, "warrantyPeriod");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodNotEqualTo(String value) {
            addCriterion("warranty_period <>", value, "warrantyPeriod");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodGreaterThan(String value) {
            addCriterion("warranty_period >", value, "warrantyPeriod");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodGreaterThanOrEqualTo(String value) {
            addCriterion("warranty_period >=", value, "warrantyPeriod");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodLessThan(String value) {
            addCriterion("warranty_period <", value, "warrantyPeriod");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodLessThanOrEqualTo(String value) {
            addCriterion("warranty_period <=", value, "warrantyPeriod");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodLike(String value) {
            addCriterion("warranty_period like", value, "warrantyPeriod");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodNotLike(String value) {
            addCriterion("warranty_period not like", value, "warrantyPeriod");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodIn(List<String> values) {
            addCriterion("warranty_period in", values, "warrantyPeriod");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodNotIn(List<String> values) {
            addCriterion("warranty_period not in", values, "warrantyPeriod");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodBetween(String value1, String value2) {
            addCriterion("warranty_period between", value1, value2, "warrantyPeriod");
            return (Criteria) this;
        }

        public Criteria andWarrantyPeriodNotBetween(String value1, String value2) {
            addCriterion("warranty_period not between", value1, value2, "warrantyPeriod");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andBuyerIsNull() {
            addCriterion("buyer is null");
            return (Criteria) this;
        }

        public Criteria andBuyerIsNotNull() {
            addCriterion("buyer is not null");
            return (Criteria) this;
        }

        public Criteria andBuyerEqualTo(String value) {
            addCriterion("buyer =", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerNotEqualTo(String value) {
            addCriterion("buyer <>", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerGreaterThan(String value) {
            addCriterion("buyer >", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerGreaterThanOrEqualTo(String value) {
            addCriterion("buyer >=", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerLessThan(String value) {
            addCriterion("buyer <", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerLessThanOrEqualTo(String value) {
            addCriterion("buyer <=", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerLike(String value) {
            addCriterion("buyer like", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerNotLike(String value) {
            addCriterion("buyer not like", value, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerIn(List<String> values) {
            addCriterion("buyer in", values, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerNotIn(List<String> values) {
            addCriterion("buyer not in", values, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerBetween(String value1, String value2) {
            addCriterion("buyer between", value1, value2, "buyer");
            return (Criteria) this;
        }

        public Criteria andBuyerNotBetween(String value1, String value2) {
            addCriterion("buyer not between", value1, value2, "buyer");
            return (Criteria) this;
        }

        public Criteria andSupervisorIsNull() {
            addCriterion("supervisor is null");
            return (Criteria) this;
        }

        public Criteria andSupervisorIsNotNull() {
            addCriterion("supervisor is not null");
            return (Criteria) this;
        }

        public Criteria andSupervisorEqualTo(String value) {
            addCriterion("supervisor =", value, "supervisor");
            return (Criteria) this;
        }

        public Criteria andSupervisorNotEqualTo(String value) {
            addCriterion("supervisor <>", value, "supervisor");
            return (Criteria) this;
        }

        public Criteria andSupervisorGreaterThan(String value) {
            addCriterion("supervisor >", value, "supervisor");
            return (Criteria) this;
        }

        public Criteria andSupervisorGreaterThanOrEqualTo(String value) {
            addCriterion("supervisor >=", value, "supervisor");
            return (Criteria) this;
        }

        public Criteria andSupervisorLessThan(String value) {
            addCriterion("supervisor <", value, "supervisor");
            return (Criteria) this;
        }

        public Criteria andSupervisorLessThanOrEqualTo(String value) {
            addCriterion("supervisor <=", value, "supervisor");
            return (Criteria) this;
        }

        public Criteria andSupervisorLike(String value) {
            addCriterion("supervisor like", value, "supervisor");
            return (Criteria) this;
        }

        public Criteria andSupervisorNotLike(String value) {
            addCriterion("supervisor not like", value, "supervisor");
            return (Criteria) this;
        }

        public Criteria andSupervisorIn(List<String> values) {
            addCriterion("supervisor in", values, "supervisor");
            return (Criteria) this;
        }

        public Criteria andSupervisorNotIn(List<String> values) {
            addCriterion("supervisor not in", values, "supervisor");
            return (Criteria) this;
        }

        public Criteria andSupervisorBetween(String value1, String value2) {
            addCriterion("supervisor between", value1, value2, "supervisor");
            return (Criteria) this;
        }

        public Criteria andSupervisorNotBetween(String value1, String value2) {
            addCriterion("supervisor not between", value1, value2, "supervisor");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterIsNull() {
            addCriterion("facility_parameter is null");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterIsNotNull() {
            addCriterion("facility_parameter is not null");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterEqualTo(String value) {
            addCriterion("facility_parameter =", value, "facilityParameter");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterNotEqualTo(String value) {
            addCriterion("facility_parameter <>", value, "facilityParameter");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterGreaterThan(String value) {
            addCriterion("facility_parameter >", value, "facilityParameter");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterGreaterThanOrEqualTo(String value) {
            addCriterion("facility_parameter >=", value, "facilityParameter");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterLessThan(String value) {
            addCriterion("facility_parameter <", value, "facilityParameter");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterLessThanOrEqualTo(String value) {
            addCriterion("facility_parameter <=", value, "facilityParameter");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterLike(String value) {
            addCriterion("facility_parameter like", value, "facilityParameter");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterNotLike(String value) {
            addCriterion("facility_parameter not like", value, "facilityParameter");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterIn(List<String> values) {
            addCriterion("facility_parameter in", values, "facilityParameter");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterNotIn(List<String> values) {
            addCriterion("facility_parameter not in", values, "facilityParameter");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterBetween(String value1, String value2) {
            addCriterion("facility_parameter between", value1, value2, "facilityParameter");
            return (Criteria) this;
        }

        public Criteria andFacilityParameterNotBetween(String value1, String value2) {
            addCriterion("facility_parameter not between", value1, value2, "facilityParameter");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(String value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(String value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(String value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(String value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(String value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(String value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLike(String value) {
            addCriterion("del_flag like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotLike(String value) {
            addCriterion("del_flag not like", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<String> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<String> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(String value1, String value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(String value1, String value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}